const app = getApp()
Page({
  data: {
    name: '首页',
    nav: app.globalData.nav,
    case: [{
        name: '首开天琅装修',
        m: '450㎡',
        img: '/img/case1.jpg'
      },
      {
        name: '龙樾华府装修',
        m: '330㎡',
        img: '/img/case2.jpg'
      },
      {
        name: '昆仑域装修',
        m: '160㎡',
        img: '/img/case3.jpg'
      },
      {
        name: '禧瑞墅装修',
        m: '300㎡',
        img: '/img/case4.jpg'
      },
    ],
    team: [{
        name: '徐鸶鸶',
        position: '设计总监',
        experience: 18,
        production: 55,
        avatar: '/img/team1.jpg'
      },
      {
        name: '赵妍',
        position: '设计总监',
        experience: 18,
        production: 34,
        avatar: '/img/team2.jpg'
      },
      {
        name: '肖越',
        position: '主任设计师',
        experience: 16,
        production: 39,
        avatar: '/img/team3.jpg'
      },
      {
        name: '章文斌',
        position: '主任设计师',
        experience: 16,
        production: 9,
        avatar: '/img/team4.jpg'
      },
    ]
  },
  redirect: function (e) {
    let path = e.target.dataset.path
    wx.redirectTo({
      url: path
    })
  }
})